<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<ui:composition xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:c="http://java.sun.com/jsp/jstl/core"
	xmlns:forgeview="http://jboss.org/forge/view"	
	template="/resources/templates/pageTemplate.xhtml">

	<f:metadata>
		<f:viewParam name="id" value="#{sysVehicleTypeDccNotusedBean.id}"/>
		<f:event type="preRenderView" listener="#{sysVehicleTypeDccNotusedBean.retrieve}"/>
	</f:metadata>

	<ui:param name="pageTitle" value="Create Sys Vehicle Type Dcc Notused"/>

	<ui:define name="header">
		Sys Vehicle Type Dcc Notused
	</ui:define>

	<ui:define name="subheader">
		<c:choose>
			<c:when test="#{!empty sysVehicleTypeDccNotusedBean.id}">
				Edit existing Sys Vehicle Type Dcc Notused
			</c:when>
			<c:otherwise>
				Create a new Sys Vehicle Type Dcc Notused
			</c:otherwise>
		</c:choose>
	</ui:define>

	<ui:define name="footer"/>

	<ui:define name="main">
		<h:form id="create">
			<h:messages globalOnly="true" styleClass="error"/>

			<h:panelGrid columnClasses="label,component,required" columns="3">
				<h:outputLabel for="sysVehicleTypeDccNotusedBeanSysVehicleTypeDccNotusedVehicleTypeDcNo" value="Vehicle Type Dc No:"/>
				<h:panelGroup>
					<h:inputText id="sysVehicleTypeDccNotusedBeanSysVehicleTypeDccNotusedVehicleTypeDcNo" required="true" value="#{sysVehicleTypeDccNotusedBean.sysVehicleTypeDccNotused.vehicleTypeDcNo}"/>
					<h:message for="sysVehicleTypeDccNotusedBeanSysVehicleTypeDccNotusedVehicleTypeDcNo" styleClass="error"/>
				</h:panelGroup>
				<h:outputText value="*"/>
				<h:outputLabel for="sysVehicleTypeDccNotusedBeanSysVehicleTypeDccNotusedSysVehicleType" value="Sys Vehicle Type:"/>
				<h:panelGroup>
					<h:selectOneMenu converter="#{sysVehicleTypeBean.converter}" id="sysVehicleTypeDccNotusedBeanSysVehicleTypeDccNotusedSysVehicleType" value="#{sysVehicleTypeDccNotusedBean.sysVehicleTypeDccNotused.sysVehicleType}">
						<f:selectItem/>
						<f:selectItems itemLabel="#{forgeview:display(_item)}" itemValue="#{_item}" value="#{sysVehicleTypeBean.all}" var="_item"/>
					</h:selectOneMenu>
					<h:message for="sysVehicleTypeDccNotusedBeanSysVehicleTypeDccNotusedSysVehicleType" styleClass="error"/>
				</h:panelGroup>
				<h:outputText/>
				<h:outputLabel for="sysVehicleTypeDccNotusedBeanSysVehicleTypeDccNotusedVehicleGearTypeNo" value="Vehicle Gear Type No:"/>
				<h:panelGroup>
					<h:inputText id="sysVehicleTypeDccNotusedBeanSysVehicleTypeDccNotusedVehicleGearTypeNo" value="#{sysVehicleTypeDccNotusedBean.sysVehicleTypeDccNotused.vehicleGearTypeNo}"/>
					<h:message for="sysVehicleTypeDccNotusedBeanSysVehicleTypeDccNotusedVehicleGearTypeNo" styleClass="error"/>
				</h:panelGroup>
				<h:outputText/>
				<h:outputLabel for="sysVehicleTypeDccNotusedBeanSysVehicleTypeDccNotusedVehicleLifeMinYear" value="Vehicle Life Min Year:"/>
				<h:panelGroup>
					<h:inputText id="sysVehicleTypeDccNotusedBeanSysVehicleTypeDccNotusedVehicleLifeMinYear" value="#{sysVehicleTypeDccNotusedBean.sysVehicleTypeDccNotused.vehicleLifeMinYear}"/>
					<h:message for="sysVehicleTypeDccNotusedBeanSysVehicleTypeDccNotusedVehicleLifeMinYear" styleClass="error"/>
				</h:panelGroup>
				<h:outputText/>
				<h:outputLabel for="sysVehicleTypeDccNotusedBeanSysVehicleTypeDccNotusedVehicleLifeMaxYear" value="Vehicle Life Max Year:"/>
				<h:panelGroup>
					<h:inputText id="sysVehicleTypeDccNotusedBeanSysVehicleTypeDccNotusedVehicleLifeMaxYear" value="#{sysVehicleTypeDccNotusedBean.sysVehicleTypeDccNotused.vehicleLifeMaxYear}"/>
					<h:message for="sysVehicleTypeDccNotusedBeanSysVehicleTypeDccNotusedVehicleLifeMaxYear" styleClass="error"/>
				</h:panelGroup>
				<h:outputText/>
				<h:outputLabel for="sysVehicleTypeDccNotusedBeanSysVehicleTypeDccNotusedStatusIsUsedVehicleRate" value="Status Is Used Vehicle Rate:"/>
				<h:panelGroup>
					<h:inputText id="sysVehicleTypeDccNotusedBeanSysVehicleTypeDccNotusedStatusIsUsedVehicleRate" value="#{sysVehicleTypeDccNotusedBean.sysVehicleTypeDccNotused.statusIsUsedVehicleRate}"/>
					<h:message for="sysVehicleTypeDccNotusedBeanSysVehicleTypeDccNotusedStatusIsUsedVehicleRate" styleClass="error"/>
				</h:panelGroup>
				<h:outputText/>
				<h:outputLabel for="sysVehicleTypeDccNotusedBeanSysVehicleTypeDccNotusedStatusIsAllowDc" value="Status Is Allow Dc:"/>
				<h:panelGroup>
					<h:inputText id="sysVehicleTypeDccNotusedBeanSysVehicleTypeDccNotusedStatusIsAllowDc" value="#{sysVehicleTypeDccNotusedBean.sysVehicleTypeDccNotused.statusIsAllowDc}"/>
					<h:message for="sysVehicleTypeDccNotusedBeanSysVehicleTypeDccNotusedStatusIsAllowDc" styleClass="error"/>
				</h:panelGroup>
				<h:outputText/>
				<h:outputLabel for="sysVehicleTypeDccNotusedBeanSysVehicleTypeDccNotusedDcMinVal" value="Dc Min Val:"/>
				<h:panelGroup>
					<h:inputText id="sysVehicleTypeDccNotusedBeanSysVehicleTypeDccNotusedDcMinVal" value="#{sysVehicleTypeDccNotusedBean.sysVehicleTypeDccNotused.dcMinVal}"/>
					<h:message for="sysVehicleTypeDccNotusedBeanSysVehicleTypeDccNotusedDcMinVal" styleClass="error"/>
				</h:panelGroup>
				<h:outputText/>
				<h:outputLabel for="sysVehicleTypeDccNotusedBeanSysVehicleTypeDccNotusedDcMaxVal" value="Dc Max Val:"/>
				<h:panelGroup>
					<h:inputText id="sysVehicleTypeDccNotusedBeanSysVehicleTypeDccNotusedDcMaxVal" value="#{sysVehicleTypeDccNotusedBean.sysVehicleTypeDccNotused.dcMaxVal}"/>
					<h:message for="sysVehicleTypeDccNotusedBeanSysVehicleTypeDccNotusedDcMaxVal" styleClass="error"/>
				</h:panelGroup>
				<h:outputText/>
				<h:outputLabel for="sysVehicleTypeDccNotusedBeanSysVehicleTypeDccNotusedNotUsedRateMinVal" value="Not Used Rate Min Val:"/>
				<h:panelGroup>
					<h:inputText id="sysVehicleTypeDccNotusedBeanSysVehicleTypeDccNotusedNotUsedRateMinVal" value="#{sysVehicleTypeDccNotusedBean.sysVehicleTypeDccNotused.notUsedRateMinVal}"/>
					<h:message for="sysVehicleTypeDccNotusedBeanSysVehicleTypeDccNotusedNotUsedRateMinVal" styleClass="error"/>
				</h:panelGroup>
				<h:outputText/>
				<h:outputLabel for="sysVehicleTypeDccNotusedBeanSysVehicleTypeDccNotusedNotUsedRateMaxVal" value="Not Used Rate Max Val:"/>
				<h:panelGroup>
					<h:inputText id="sysVehicleTypeDccNotusedBeanSysVehicleTypeDccNotusedNotUsedRateMaxVal" value="#{sysVehicleTypeDccNotusedBean.sysVehicleTypeDccNotused.notUsedRateMaxVal}"/>
					<h:message for="sysVehicleTypeDccNotusedBeanSysVehicleTypeDccNotusedNotUsedRateMaxVal" styleClass="error"/>
				</h:panelGroup>
				<h:outputText/>
				<h:outputLabel for="sysVehicleTypeDccNotusedBeanSysVehicleTypeDccNotusedApprovedLevelNo" value="Approved Level No:"/>
				<h:panelGroup>
					<h:inputText id="sysVehicleTypeDccNotusedBeanSysVehicleTypeDccNotusedApprovedLevelNo" value="#{sysVehicleTypeDccNotusedBean.sysVehicleTypeDccNotused.approvedLevelNo}"/>
					<h:message for="sysVehicleTypeDccNotusedBeanSysVehicleTypeDccNotusedApprovedLevelNo" styleClass="error"/>
				</h:panelGroup>
				<h:outputText/>
				<h:outputLabel for="sysVehicleTypeDccNotusedBeanSysVehicleTypeDccNotusedApprovedMinVal" value="Approved Min Val:"/>
				<h:panelGroup>
					<h:inputText id="sysVehicleTypeDccNotusedBeanSysVehicleTypeDccNotusedApprovedMinVal" required="true" value="#{sysVehicleTypeDccNotusedBean.sysVehicleTypeDccNotused.approvedMinVal}"/>
					<h:message for="sysVehicleTypeDccNotusedBeanSysVehicleTypeDccNotusedApprovedMinVal" styleClass="error"/>
				</h:panelGroup>
				<h:outputText value="*"/>
				<h:outputLabel for="sysVehicleTypeDccNotusedBeanSysVehicleTypeDccNotusedApprovedMaxVal" value="Approved Max Val:"/>
				<h:panelGroup>
					<h:inputText id="sysVehicleTypeDccNotusedBeanSysVehicleTypeDccNotusedApprovedMaxVal" required="true" value="#{sysVehicleTypeDccNotusedBean.sysVehicleTypeDccNotused.approvedMaxVal}"/>
					<h:message for="sysVehicleTypeDccNotusedBeanSysVehicleTypeDccNotusedApprovedMaxVal" styleClass="error"/>
				</h:panelGroup>
				<h:outputText value="*"/>
				<h:outputLabel for="sysVehicleTypeDccNotusedBeanSysVehicleTypeDccNotusedApprovedLevelSeqNo" value="Approved Level Seq No:"/>
				<h:panelGroup>
					<h:inputText id="sysVehicleTypeDccNotusedBeanSysVehicleTypeDccNotusedApprovedLevelSeqNo" required="true" value="#{sysVehicleTypeDccNotusedBean.sysVehicleTypeDccNotused.approvedLevelSeqNo}"/>
					<h:message for="sysVehicleTypeDccNotusedBeanSysVehicleTypeDccNotusedApprovedLevelSeqNo" styleClass="error"/>
				</h:panelGroup>
				<h:outputText value="*"/>
			</h:panelGrid>

			<div class="buttons">
				<h:commandLink value="Save" action="#{sysVehicleTypeDccNotusedBean.update}" styleClass="btn btn-primary"/>
				<c:choose>
					<c:when test="#{!empty sysVehicleTypeDccNotusedBean.id}">
						<h:link value="Cancel" outcome="view" styleClass="btn btn-primary">
							<f:param name="id" value="#{sysVehicleTypeDccNotusedBean.id}"/>
						</h:link>
						<h:commandLink value="Delete" action="#{sysVehicleTypeDccNotusedBean.delete}" styleClass="btn btn-primary"/>
					</c:when>
					<c:otherwise>
						<h:link value="Cancel" outcome="search" styleClass="btn btn-primary"/>
					</c:otherwise>
				</c:choose>
			</div>
		</h:form>
	</ui:define>

</ui:composition>